//
//  FileTool.h
//  mengbutou
//
//  Created by Jiafei Wei on 16/7/6.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FileTool : NSObject
+(NSString*) settingPath;
+(NSString*) cachePath;
+(BOOL)clearCache:(NSError**)error;
+(NSString*)fileAtBundleResource:(NSString*)file;
+(BOOL)fileExist:(NSString*)file;
+(BOOL)fileExistAtCache:(NSString*)file;
+(NSString*)cachedFile:(NSString*)file;
+(BOOL)writeToFile:(NSString*)fileWithPath withData:(NSData*)data;
+(BOOL)deleteFile:(NSString*)fileWithPath;
+(NSString*)documentPathWith:(NSString*)cmp;
+(void)writeGroupToContact;
@end
